package com.yeswater.multithread.chapter1.test1_2.test1_2_10;

import org.junit.Test;

/**
 * author : yeswater
 * date : 2023/10/18
 */

public class Run {

    @Test
    public void test() {
        MyThread run = new MyThread();
        Thread t1 = new Thread(run);
        Thread t2 = new Thread(run);
        Thread t3 = new Thread(run);
        Thread t4 = new Thread(run);
        Thread t5 = new Thread(run);

        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();
    }

}
